#pragma once

#include "ArkGraphicBase.h"

class ITexture : public IArkGraphicUnknown
{
public:
	virtual UINT	FrameCount() = 0;
	virtual UINT	Width() const = 0;
	virtual UINT	Height() const = 0;
	virtual LPCTSTR	Name()	const = 0;
	virtual int		CreateFrameTexture( UINT nFrame, ITexture** pTexture ) = 0;
	virtual int		FillFromHBitmap( HBITMAP hBitmap, HBITMAP hMask = NULL ) = 0;
	virtual int		FillFromMemory( const void* pMemory, TEXTUREFORMAT Format, uint32 nWidth, const RECT& rtSrc, const RECT& rtDes ) = 0;
};